package fi.jamk.ourcookingapp.backend.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * This is the receipt.
 * @author Marius
 */
public class Receipt implements Serializable {

	private static final long serialVersionUID = 1L;

	private List<Step> lstStep;
	
	private List<Rating> lstRating;
	
	private User user;
	
	private List<Comment> lstComment;
	
	private Date date;
	
	private List<Ingredient> lstIngredient;
	
	private String name;
	
	private String description;
	
	private String effort;
	
	private int countClicks;
	
	private int duration;

	private double rating;

	private int ID;
	
	public Receipt() {
		this.rating = 0;
		this.countClicks = 0;
	}
	
	public int getID() {
		return ID;
	}
	
	public void setID(int iD) {
		ID = iD;
	}
	
	public List<Step> getLstStep() {
		return lstStep;
	}
	
	public void setLstStep(List<Step> lstStep) {
		this.lstStep = lstStep;
	}
	
	public List<Rating> getLstRating() {
		return lstRating;
	}
	
	public void setLstRating(List<Rating> lstRating) {
		this.lstRating = lstRating;
	}
	
	public User getUser() {
		return user;
	}
	
	public void setUser(User user) {
		this.user = user;
	}
	
	public List<Comment> getLstComment() {
		return lstComment;
	}
	
	public void setLstComment(List<Comment> lstComment) {
		this.lstComment = lstComment;
	}
	
	public Date getDate() {
		return date;
	}
	
	public void setDate(Date date) {
		this.date = date;
	}
	
	public List<Ingredient> getLstIngredient() {
		return lstIngredient;
	}
	
	public void setLstIngredient(List<Ingredient> lstIngredient) {
		this.lstIngredient = lstIngredient;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getDescription() {
		return description;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}
	
	public String getEffort() {
		return effort;
	}
	
	public void setEffort(String effort) {
		this.effort = effort;
	}
	
	public int getCountClicks() {
		return countClicks;
	}
	
	public void setCountClicks(int countClicks) {
		this.countClicks = countClicks;
	}
	
	public int getDuration() {
		return duration;
	}
	
	public void setDuration(int duration) {
		this.duration = duration;
	}

	public double getRating() {
		return this.rating;
	}
	
	public void setRating(double rating){
		this.rating = rating;
	}

}